<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>

<title>ComponentManager (randoop 4.1.0 API)</title>

<link rel="stylesheet" type="text/css" href="../../javadocstyle.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="ComponentManager (randoop 4.1.0 API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/generation/Bloodhound.html" title="class in randoop.generation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../randoop/generation/CoverageTracker.html" title="class in randoop.generation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/generation/ComponentManager.html" target="_top">Frames</a></li>
<li><a href="ComponentManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">randoop.generation</div>
<h2 title="Class ComponentManager" class="title">Class ComponentManager</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>randoop.generation.ComponentManager</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">ComponentManager</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Stores and provides means to access the component sequences generated during a run of Randoop.
 "Component sequences" are sequences that Randoop uses to create larger sequences. The collection
 of sequences is also called Randoop's "pool".

 <p>This class manages different collections of component sequences:

 <ul>
   <li>General components that can be used as input to any method in any class.
   <li>Class literals: components representing literal values that apply only to a specific class
       and should not be used as inputs to other classes.
   <li>Package literals: analogous to class literals but at the package level.
 </ul>

 <p>SEED SEQUENCES. Seed sequences are sequences that were not created during the generation
 process but obtained via other means. They include (1) sequences passed via the constructor, (2)
 class literals, and (3) package literals. The only different treatment of seed sequences is
 during calls to the clearGeneratedSequences() method, which removes only general, non-seed
 components from the collection.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../../randoop/sequence/ClassLiterals.html" title="class in randoop.sequence">ClassLiterals</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#classLiterals">classLiterals</a></span></code>
<div class="block">A set of additional components representing literals that should only be used as input to
 specific classes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../randoop/sequence/SequenceCollection.html" title="class in randoop.sequence">SequenceCollection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#gralComponents">gralComponents</a></span></code>
<div class="block">The principal set of sequences used to create other, larger sequences by the generator.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#gralSeeds">gralSeeds</a></span></code>
<div class="block">The subset of the sequences that were given pre-generation to the component manager (via its
 constructor).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../randoop/sequence/PackageLiterals.html" title="class in randoop.sequence">PackageLiterals</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#packageLiterals">packageLiterals</a></span></code>
<div class="block">A set of additional components representing literals that should only be used as input to
 specific packages.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#ComponentManager--">ComponentManager</a></span>()</code>
<div class="block">Create an empty component manager, with an empty seed sequence set.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#ComponentManager-java.util.Collection-">ComponentManager</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;generalSeeds)</code>
<div class="block">Create a component manager, initially populated with the given sequences, which are considered
 seed sequences.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#addClassLevelLiteral-randoop.types.ClassOrInterfaceType-randoop.sequence.Sequence-">addClassLevelLiteral</a></span>(<a href="../../randoop/types/ClassOrInterfaceType.html" title="class in randoop.types">ClassOrInterfaceType</a>&nbsp;type,
                    <a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;seq)</code>
<div class="block">Add a sequence representing a literal value that can be used when testing members of the given
 class.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#addGeneratedSequence-randoop.sequence.Sequence-">addGeneratedSequence</a></span>(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;sequence)</code>
<div class="block">Add a component sequence.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#addPackageLevelLiteral-java.lang.Package-randoop.sequence.Sequence-">addPackageLevelLiteral</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Package.html?is-external=true" title="class or interface in java.lang">Package</a>&nbsp;pkg,
                      <a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;seq)</code>
<div class="block">Add a sequence representing a literal value that can be used when testing classes in the given
 package.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#clearGeneratedSequences--">clearGeneratedSequences</a></span>()</code>
<div class="block">Removes any components sequences added so far, except for seed sequences, which are preserved.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>(package private) <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#getAllGeneratedSequences--">getAllGeneratedSequences</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>(package private) <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#getAllPrimitiveSequences--">getAllPrimitiveSequences</a></span>()</code>
<div class="block">Returns all sequences that represent primitive values (e.g.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>(package private) <a href="../../randoop/util/SimpleList.html" title="interface in randoop.util">SimpleList</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#getSequencesForType-randoop.types.Type-">getSequencesForType</a></span>(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;cls)</code>
<div class="block">Returns all the general component sequences that create values of the given class.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>(package private) <a href="../../randoop/util/SimpleList.html" title="interface in randoop.util">SimpleList</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#getSequencesForType-randoop.operation.TypedOperation-int-boolean-">getSequencesForType</a></span>(<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&nbsp;operation,
                   int&nbsp;i,
                   boolean&nbsp;onlyReceivers)</code>
<div class="block">Returns component sequences that create values of the type required by the i-th input value of
 the given statement.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>(package private) <a href="../../randoop/reflection/TypeInstantiator.html" title="class in randoop.reflection">TypeInstantiator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#getTypeInstantiator--">getTypeInstantiator</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#log--">log</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/generation/ComponentManager.html#numGeneratedSequences--">numGeneratedSequences</a></span>()</code>
<div class="block">Returns the number of (non-seed) sequences stored by the manager.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="gralComponents">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>gralComponents</h4>
<pre>private&nbsp;<a href="../../randoop/sequence/SequenceCollection.html" title="class in randoop.sequence">SequenceCollection</a> gralComponents</pre>
<div class="block">The principal set of sequences used to create other, larger sequences by the generator.</div>
</li>
</ul>
<a name="gralSeeds">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>gralSeeds</h4>
<pre>private final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt; gralSeeds</pre>
<div class="block">The subset of the sequences that were given pre-generation to the component manager (via its
 constructor).</div>
</li>
</ul>
<a name="classLiterals">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>classLiterals</h4>
<pre>private&nbsp;<a href="../../randoop/sequence/ClassLiterals.html" title="class in randoop.sequence">ClassLiterals</a> classLiterals</pre>
<div class="block">A set of additional components representing literals that should only be used as input to
 specific classes.

 <p>Null if class literals are not used or none were found. At most one of classLiterals and
 packageliterals is non-null.</div>
</li>
</ul>
<a name="packageLiterals">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>packageLiterals</h4>
<pre>private&nbsp;<a href="../../randoop/sequence/PackageLiterals.html" title="class in randoop.sequence">PackageLiterals</a> packageLiterals</pre>
<div class="block">A set of additional components representing literals that should only be used as input to
 specific packages.

 <p>Null if package literals are not used or none were found. At most one of classLiterals and
 packageliterals is non-null.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="ComponentManager--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ComponentManager</h4>
<pre>public&nbsp;ComponentManager()</pre>
<div class="block">Create an empty component manager, with an empty seed sequence set.</div>
</li>
</ul>
<a name="ComponentManager-java.util.Collection-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ComponentManager</h4>
<pre>public&nbsp;ComponentManager(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;generalSeeds)</pre>
<div class="block">Create a component manager, initially populated with the given sequences, which are considered
 seed sequences.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>generalSeeds</code> - seed sequences. Can be null, in which case the seed sequences set is
     considered empty.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="numGeneratedSequences--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>numGeneratedSequences</h4>
<pre>public&nbsp;int&nbsp;numGeneratedSequences()</pre>
<div class="block">Returns the number of (non-seed) sequences stored by the manager.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>count of generated sequences in this <a href="../../randoop/generation/ComponentManager.html" title="class in randoop.generation"><code>ComponentManager</code></a></dd>
</dl>
</li>
</ul>
<a name="addClassLevelLiteral-randoop.types.ClassOrInterfaceType-randoop.sequence.Sequence-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addClassLevelLiteral</h4>
<pre>public&nbsp;void&nbsp;addClassLevelLiteral(<a href="../../randoop/types/ClassOrInterfaceType.html" title="class in randoop.types">ClassOrInterfaceType</a>&nbsp;type,
                                 <a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;seq)</pre>
<div class="block">Add a sequence representing a literal value that can be used when testing members of the given
 class.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the class literal to add for the sequence</dd>
<dd><code>seq</code> - the sequence</dd>
</dl>
</li>
</ul>
<a name="addPackageLevelLiteral-java.lang.Package-randoop.sequence.Sequence-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPackageLevelLiteral</h4>
<pre>public&nbsp;void&nbsp;addPackageLevelLiteral(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Package.html?is-external=true" title="class or interface in java.lang">Package</a>&nbsp;pkg,
                                   <a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;seq)</pre>
<div class="block">Add a sequence representing a literal value that can be used when testing classes in the given
 package.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pkg</code> - the package to add for the sequence</dd>
<dd><code>seq</code> - the sequence</dd>
</dl>
</li>
</ul>
<a name="addGeneratedSequence-randoop.sequence.Sequence-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGeneratedSequence</h4>
<pre>public&nbsp;void&nbsp;addGeneratedSequence(<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&nbsp;sequence)</pre>
<div class="block">Add a component sequence.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sequence</code> - the sequence</dd>
</dl>
</li>
</ul>
<a name="clearGeneratedSequences--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearGeneratedSequences</h4>
<pre>void&nbsp;clearGeneratedSequences()</pre>
<div class="block">Removes any components sequences added so far, except for seed sequences, which are preserved.</div>
</li>
</ul>
<a name="getAllGeneratedSequences--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllGeneratedSequences</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;getAllGeneratedSequences()</pre>
</li>
</ul>
<a name="getSequencesForType-randoop.types.Type-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSequencesForType</h4>
<pre><a href="../../randoop/util/SimpleList.html" title="interface in randoop.util">SimpleList</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;getSequencesForType(<a href="../../randoop/types/Type.html" title="class in randoop.types">Type</a>&nbsp;cls)</pre>
<div class="block">Returns all the general component sequences that create values of the given class. If
 exactMatch==true returns only sequences that declare values of the exact class specified; if
 exactMatch==false returns sequences declaring values of cls or any other class that can be used
 as a cls (i.e. a subclass of cls).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cls</code> - the query type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the sequences that create values of the given type</dd>
</dl>
</li>
</ul>
<a name="getSequencesForType-randoop.operation.TypedOperation-int-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSequencesForType</h4>
<pre><a href="../../randoop/util/SimpleList.html" title="interface in randoop.util">SimpleList</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;getSequencesForType(<a href="../../randoop/operation/TypedOperation.html" title="class in randoop.operation">TypedOperation</a>&nbsp;operation,
                                         int&nbsp;i,
                                         boolean&nbsp;onlyReceivers)</pre>
<div class="block">Returns component sequences that create values of the type required by the i-th input value of
 the given statement. Also includes any applicable class- or package-level literals.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>operation</code> - the statement</dd>
<dd><code>i</code> - the input value index of statement</dd>
<dd><code>onlyReceivers</code> - if true, only return sequences that are appropriate to use as a method
     call receiver</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the sequences that create values of the given type</dd>
</dl>
</li>
</ul>
<a name="getAllPrimitiveSequences--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllPrimitiveSequences</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../randoop/sequence/Sequence.html" title="class in randoop.sequence">Sequence</a>&gt;&nbsp;getAllPrimitiveSequences()</pre>
<div class="block">Returns all sequences that represent primitive values (e.g. sequences like "Foo var0 = null" or
 "int var0 = 1"), including general components, class literals and package literals.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the sequences for primitive values</dd>
</dl>
</li>
</ul>
<a name="getTypeInstantiator--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeInstantiator</h4>
<pre><a href="../../randoop/reflection/TypeInstantiator.html" title="class in randoop.reflection">TypeInstantiator</a>&nbsp;getTypeInstantiator()</pre>
</li>
</ul>
<a name="log--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>log</h4>
<pre>public&nbsp;void&nbsp;log()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/generation/Bloodhound.html" title="class in randoop.generation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../randoop/generation/CoverageTracker.html" title="class in randoop.generation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/generation/ComponentManager.html" target="_top">Frames</a></li>
<li><a href="ComponentManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
